package com.liumuxian.exam.pojo;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "tb_questionarticleattribute")
@IdClass(QuestionArticleAttribute.class)
public class QuestionArticleAttribute implements Serializable {
    @Id
    @Column(name = "questionid",length = 20)
    private String questionid;//试题id

    @Id
    @Column(name = "articleattributeid",length = 20)
    private String articleattributeid;//章节id
}
